package org.cangkuguanli.dongbozhibookstore.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.cangkuguanli.dongbozhibookstore.bean.Category;

import java.util.List;

@Mapper
public interface CategoryMapper {

    // 获取到所有的分类数据
    @Select("select * from category")
    List<Category> find();

}

